<!-- Begin msgrp/edit.tpl -->
<form method="post" action="?module=msgrp&action=edit&msgid={$msgid}&submit=true">
{opentable}
{titlebar colspan=2 title=$lg->hotgp_edit}
<tr class="sectiontableheader" align="center">
<td width="50%">{$lg->add_grp}</td>
<td width="50%">{$lg->del_grp}</td>
</tr>
<tr class="data">
	<td width="50%">
		<select name="add[]" size="35" multiple="multiple" style="width: 100%;">
			{foreach from=$t_groups item=s_groups}
				{if !array_key_exists($s_groups.gid,$members)}
					<option value="{$s_groups.gid}">{$s_groups.name} </option>
				{/if}
			{/foreach}
		</select>
	</td>
<td width="50%">
	<select name="del[]" size="35" multiple="multiple" style="width: 100%;">
		{foreach from=$members key=gid item=name}
			<option value="{$gid}">{$name}</option>
		{/foreach}
	</select>
</td>
</tr>
<tr class="titlebar"><td colspan="2"><input type="submit" class="button" value="{$lg->update}" /></td></tr>
</table>
</table>
</form>
<!-- End msgrp/edit.tpl -->

